package com.sdutcm.health_bigdata_demo.dao;

        import com.sdutcm.health_bigdata_demo.bean.Supply;
        import org.springframework.data.jpa.repository.JpaRepository;

        import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @author 小浩
 * @date 2018-09-23 10:32
 * @package com.sdutcm.health_bigdata_demo.dao
 * @description
 */
public interface SupplyDao extends JpaRepository<Supply,Integer> {
    List<Supply> findAllByNameLikeOrDescribesLike(String key1,String key2);
}
